<template>
    <hd-images :action="`/api/upload/local`" v-model="form[field.name]" @updateimage="updateimage">
    </hd-images>
</template>

<script>
export default {
    props: ['field', 'form'],
    methods: {
        updateimage(imgs) {
            this.form[this.field.name] = imgs;
        }
    }
}
</script>

<style></style>
